package demo.sicua.votesystem.service;


import demo.sicua.votesystem.entity.PO.UserPO;
import demo.sicua.votesystem.entity.VO.ResultVO;

import javax.servlet.http.HttpServletRequest;

/**
 * 业务逻辑判断，接口
 */
public interface UserService {

    ResultVO getAllUser();

    ResultVO login(String username, String password,HttpServletRequest request);

    ResultVO getUser(int page, int limit);

    ResultVO deleteUserById(String uid);

    ResultVO addUser(UserPO userPO);

    ResultVO updateUser(UserPO userPO);
}
